/*
 * @Author: liwei 474083297@qq.com
 * @Date: 2024-05-06 22:01:12
 * @LastEditors: liwei 474083297@qq.com
 * @LastEditTime: 2024-05-14 16:07:57
 * @FilePath: /app/vue.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
module.exports = {
    devServer: {
      proxy: {
        '^/test': {
          target: 'https://hrapitest.crcc.cn/api/hr',
          changeOrigin: true,
          pathRewrite: { '^/test': '' },
        },
        '^/tjDemo': {
          target: 'http://172.16.1.22:8089',
          changeOrigin: true,
          pathRewrite: { '^/tjDemo': '' },
        },
      },
    },
  };